package com.kakarote.oa.service;

import com.kakarote.core.entity.BasePage;
import com.kakarote.core.feign.oa.entity.OaExamineVO;
import com.kakarote.core.servlet.BaseService;
import com.kakarote.oa.entity.BO.AuditExamineBO;
import com.kakarote.oa.entity.BO.ExamineDraftPageBO;
import com.kakarote.oa.entity.BO.OaSearchBO;
import com.kakarote.oa.entity.PO.OaExamine;
import com.kakarote.oa.entity.VO.ExamineVO;

import java.util.List;

/**
 * <p>
 * 审批表 服务类
 * </p>
 *
 * @author wyq
 * @since 2020-05-15
 */
public interface IOaSuperExamineService extends BaseService<OaExamine> {


    /**
     * 待办-抄送给我
     */
    BasePage<ExamineVO> selectDraftOaEaminePage(ExamineDraftPageBO searchBO);


    /**
     * 首页-根据审批事由查询审批
     *
     * @param content
     * @return
     */
    List<com.kakarote.core.feign.oa.entity.OaExamine> queryExamineByName(String content);

    /**
     * 待办详情
     */
    OaExamineVO getExamineInfo(Long examineId);

    BasePage<com.kakarote.core.feign.oa.entity.OaExamine> queryExamineByNameForPage(OaSearchBO oaSearchBO);

    void actionExamine(AuditExamineBO auditExamineBO);
}
